Asbjørn Sloth Tønnesen [Wed, 30 Mar 2011 14:50:28 +0000 (14:50 +0000)]
Merge branch 'master' of git://github.com/jquery/jquery into fixedbuild
Asbjørn Sloth Tønnesen [Wed, 30 Mar 2011 14:41:39 +0000 (14:41 +0000)]
Makefile: get version from git
Pull the version number from git tags, rather than a text file in git.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@mugami.com>
Asbjørn Sloth Tønnesen [Wed, 9 Feb 2011 13:40:50 +0000 (13:40 +0000)]
build: remove reference to dist/jquery.js from build/
This patch makes it easier to use jQuery's build system
for other projects, without having to maintain a patch.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@mugami.com>
John Resig [Mon, 28 Mar 2011 17:10:12 +0000 (13:10 -0400)]
Update the Sizzle location to point to the newly-moved repo.
rwldrn [Mon, 28 Mar 2011 16:10:16 +0000 (12:10 -0400)]
Bug #8635 Firefox uncaught exception
jeresig [Fri, 25 Mar 2011 02:10:38 +0000 (22:10 -0400)]
Merge branch 'bug-3333' of https://github.com/rdworth/jquery
jeresig [Fri, 25 Mar 2011 00:12:40 +0000 (20:12 -0400)]
Updating the source version to 1.5.2pre.
jeresig [Fri, 25 Mar 2011 00:12:31 +0000 (20:12 -0400)]
Tagging the 1.5.2rc1 release.
jeresig [Fri, 25 Mar 2011 00:08:40 +0000 (20:08 -0400)]
Land new sizzle commit.
Richard Worth [Thu, 24 Mar 2011 23:55:55 +0000 (19:55 -0400)]
Further fix for #3333, refactored marginRight css hook to use jQuery.swap and computed. Thanks timmywil
jeresig [Thu, 24 Mar 2011 23:52:45 +0000 (19:52 -0400)]
Oops, that test file for bug #8316 was needed - was also missing an include and was causing errors.
jeresig [Thu, 24 Mar 2011 23:40:09 +0000 (19:40 -0400)]
Updating Sizzle submodule to bring in the latest commit.
jeresig [Thu, 24 Mar 2011 23:36:38 +0000 (19:36 -0400)]
Fix missing semicolon.
Michael Murray [Thu, 24 Mar 2011 23:02:38 +0000 (19:02 -0400)]
Offset setter for fixed position elements in Webkit. Fixes #8316.
jeresig [Thu, 24 Mar 2011 22:58:20 +0000 (18:58 -0400)]
Merge branch 'bug-3333' of https://github.com/rdworth/jquery into rdworth-bug-3333
Richard Worth [Thu, 24 Mar 2011 19:41:46 +0000 (15:41 -0400)]
Added css hook to work around bug in WebKit computed margin-right. Fixes #3333 - .css("marginRight") is incorrect in WebKit
jeresig [Mon, 21 Mar 2011 14:53:57 +0000 (10:53 -0400)]
Merge branch 'fix-8456-lost-mouseenter' of https://github.com/dmethvin/jquery into dmethvin-fix-8456-lost-mouseenter
jeresig [Mon, 21 Mar 2011 14:53:18 +0000 (10:53 -0400)]
Merge branch 'fix-7340-focusin-focusout-bubble' of https://github.com/dmethvin/jquery into dmethvin-fix-7340-focusin-focusout-bubble
Carl Fürstenberg [Thu, 17 Mar 2011 19:40:07 +0000 (20:40 +0100)]
merge doesn't work when init
sadly the merge strategy doesn't work when doing an initial clone,
circumvent that
Carl Fürstenberg [Thu, 17 Mar 2011 19:26:45 +0000 (20:26 +0100)]
Adding core target
Adding core target to do jquery, minimization and lint
Carl Fürstenberg [Thu, 17 Mar 2011 19:16:19 +0000 (20:16 +0100)]
updating phony rules
Carl Fürstenberg [Thu, 17 Mar 2011 19:14:15 +0000 (20:14 +0100)]
Change makefile order to only update submodules on 'all' target
insterad of always update the submodules, now only "make all" will run
that, thus an "make jquery" will not update them
Carl Fürstenberg [Thu, 17 Mar 2011 19:15:44 +0000 (20:15 +0100)]
Remove jq target
remove obsolete jq target
Carl Fürstenberg [Thu, 17 Mar 2011 18:50:53 +0000 (19:50 +0100)]
Merge when updating submodules on make
When running make, the submodule update will remove all local changes.
Adding flag --rebase or --merge does solve the issue. rebase will
probably make it cleaner, but it might stop on conflict, thus --merge
will result in fewer (probably none).
John Resig [Tue, 15 Mar 2011 21:06:24 +0000 (17:06 -0400)]
Merge branch 'bug_6158' of https://github.com/jboesch/jquery into jboesch-bug_6158
Carl Fürstenberg [Tue, 15 Mar 2011 20:42:58 +0000 (21:42 +0100)]
adding pull command
Carl Fürstenberg [Tue, 15 Mar 2011 20:25:51 +0000 (21:25 +0100)]
pull submodules make command
Adding an helper funciton to pull the latest from all registered
submodules
Carl Fürstenberg [Tue, 15 Mar 2011 19:16:09 +0000 (20:16 +0100)]
Introduce submodules, closes #8536
Instead of the manual clone of sizzle and qunit, use git submodules
instead. this will ensure that all future releases can be recreated by
checking out an tag.
jaubourg [Tue, 15 Mar 2011 18:20:03 +0000 (19:20 +0100)]
Fixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of ietf.org/rfc/rfc2718.txt ). Also adds about: and adobe air's app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed. Unit test added.
Jordan Boesch [Mon, 14 Mar 2011 20:17:02 +0000 (14:17 -0600)]
removing parens
Dave Methvin [Thu, 10 Mar 2011 03:38:26 +0000 (22:38 -0500)]
Fixes #8456. Make sure parent is not null before crawling into its lap, so mouseenter is triggered on a mouseover event.
jaubourg [Sun, 6 Mar 2011 23:42:09 +0000 (00:42 +0100)]
Fixes #8423. Never set X-Requested-With header automagically for cross-domain requests.
Jordan Boesch [Sat, 5 Mar 2011 15:59:25 +0000 (09:59 -0600)]
bug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon
Jordan Boesch [Sat, 5 Mar 2011 15:46:12 +0000 (09:46 -0600)]
bug 6158; fixing replaceWith from throwing errors on non existant elements
Jordan Boesch [Sat, 5 Mar 2011 15:30:29 +0000 (09:30 -0600)]
bug 6158; fixing replaceWith from throwing errors on empty elements
Dave Methvin [Sat, 5 Mar 2011 02:16:40 +0000 (21:16 -0500)]
Fixes #7340. Use a single capturing handler to simulate bubbling focusin/focusout event on non-IE browsers. Allow native DOM methods to fire events other than the currently active one back into jQuery.
jaubourg [Thu, 3 Mar 2011 18:38:06 +0000 (19:38 +0100)]
Moves Deferred-related code into a separate module. Context handling has been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization).
jaubourg [Thu, 3 Mar 2011 14:16:47 +0000 (15:16 +0100)]
Fix for #8421. Makes sure resolveWith can be called with only one parameter.
gnarf [Thu, 24 Feb 2011 19:21:05 +0000 (13:21 -0600)]
Grouped up the test
gnarf [Thu, 24 Feb 2011 19:10:33 +0000 (13:10 -0600)]
A quick change to detect AIR urls
jaubourg [Thu, 24 Feb 2011 05:37:37 +0000 (06:37 +0100)]
Removes unnecessary parenthesis from regular expression.
jaubourg [Wed, 23 Feb 2011 23:32:30 +0000 (00:32 +0100)]
Revert "Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6."
This reverts commit
cacea6f7e778d42cda56066a6b1da8fb163410cc.
jeresig [Wed, 23 Feb 2011 18:55:45 +0000 (13:55 -0500)]
Updating the source version to 1.5.2pre.
jeresig [Wed, 23 Feb 2011 18:55:29 +0000 (13:55 -0500)]
Tagging the 1.5.1 release.
jeresig [Wed, 23 Feb 2011 18:18:44 +0000 (13:18 -0500)]
Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365.
jaubourg [Wed, 23 Feb 2011 07:00:27 +0000 (08:00 +0100)]
Refactors jQuery.when to avoid unnecessary recursion and limit function calls as much as possible.
jaubourg [Wed, 23 Feb 2011 01:50:27 +0000 (02:50 +0100)]
Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
jaubourg [Mon, 21 Feb 2011 23:44:22 +0000 (00:44 +0100)]
Makes the promise method of Deferreds a bit more readable by not using the variable declared as parameter trick anymore.
jeresig [Fri, 18 Feb 2011 18:57:32 +0000 (13:57 -0500)]
Updating the source version to 1.5.1pre.
jeresig [Fri, 18 Feb 2011 18:57:25 +0000 (13:57 -0500)]
Tagging the 1.5.1rc1 release.
Dan Heberden [Fri, 18 Feb 2011 18:09:07 +0000 (10:09 -0800)]
Bug #6911 - Prevent action on disabled elements, both triggering and bound via .live()
jaubourg [Fri, 18 Feb 2011 17:06:26 +0000 (18:06 +0100)]
Revert "Adds an invert method to promises that returns a "inverted" promise that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved."
This reverts commit
4e975430510f443ef76a90d077bc8956fb8b8cc0.
Alex Sexton [Fri, 18 Feb 2011 00:01:30 +0000 (18:01 -0600)]
A temporary workaround for #8018 that avoids any chance of compatibility-breaking changes until a proper fix can be landed in 1.6.
Anton M [Thu, 17 Feb 2011 18:12:57 +0000 (19:12 +0100)]
Fix a some inaccuracies in the original test case for #7912.
- Use fresh div instead of one outside the test-fixture
- make sure the empty string test tests actually that (not 0% 0%)
- actually test for < -10000 (#7193)
- fixed some whitespace issues
louisremi [Thu, 17 Feb 2011 16:26:23 +0000 (17:26 +0100)]
Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs to ("", auto, undefined, null).
This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by
.css() if it isn't a number, number-alike or a value that needs a fallback to 0.
This way fx.start doesn't need to be recalculated for complex values.
Dave Methvin [Wed, 16 Feb 2011 03:41:08 +0000 (22:41 -0500)]
Only perpetrate the .toJSON hack on data caches when they are attached to a plain Javascript object. Part of the continuing saga of #8108.
jaubourg [Thu, 17 Feb 2011 16:03:09 +0000 (17:03 +0100)]
Fixes #8297. Makes sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string. Unit test amended.
Anton M [Tue, 15 Feb 2011 21:30:34 +0000 (22:30 +0100)]
Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099"
This reverts commit
bb9408516aa0fc8892f4e07a99b1a47bce06081b, reversing
changes made to
3ad8dd242acec1066f43a9349f4c1a352680d37b.
Conflicts:
src/effects.js
Anton M [Tue, 15 Feb 2011 21:03:23 +0000 (22:03 +0100)]
Fix some whitespace issues.
Dave Methvin [Thu, 10 Feb 2011 02:25:29 +0000 (21:25 -0500)]
Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function.
jaubourg [Tue, 15 Feb 2011 20:47:52 +0000 (21:47 +0100)]
Fixes #8277. Sets data to undefined rather than null when it is not provided in ajax helpers so that it won't revent data set in ajaxSettings from being used. Unit test added.
Anton M [Tue, 15 Feb 2011 20:01:52 +0000 (21:01 +0100)]
Fix some unscoped tests which failed after recent changes to QUnit.
Colin Snover [Mon, 14 Feb 2011 22:30:18 +0000 (16:30 -0600)]
Update jQuery.data to use jQuery.noop for toJSON hack instead of an additional superfluous function.
Colin Snover [Mon, 14 Feb 2011 22:22:23 +0000 (16:22 -0600)]
Hide metadata when serializing JS objects using JSON.stringify via a toJSON hack. Fixes #8108.
Anton M [Mon, 14 Feb 2011 21:38:19 +0000 (22:38 +0100)]
Add missing semicolon.
jeresig [Mon, 14 Feb 2011 17:36:49 +0000 (12:36 -0500)]
Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099
jeresig [Mon, 14 Feb 2011 17:35:27 +0000 (12:35 -0500)]
Merge branch 'fix8033' of https://github.com/SlexAxton/jquery into SlexAxton-fix8033
Anton M [Sun, 13 Feb 2011 23:37:07 +0000 (00:37 +0100)]
Fix breaking test in Chrome.
Anton M [Sun, 13 Feb 2011 22:03:46 +0000 (23:03 +0100)]
Don't add "px" to unit-less properties when animating them. Fixes #4966.
Anton M [Sun, 13 Feb 2011 22:02:14 +0000 (23:02 +0100)]
Clean up whitespace in test/unit/effects.js
Anton M [Sun, 13 Feb 2011 00:48:48 +0000 (01:48 +0100)]
Anton M [Sun, 13 Feb 2011 00:34:31 +0000 (01:34 +0100)]
Remove old cruft from test folder. Change "polluted" test suite loader to use CDN hosted libraries.
jrburke [Sat, 12 Feb 2011 02:42:35 +0000 (03:42 +0100)]
Add readyWait tests. Fixes #8145.
Adds tests for the fix to #6781.
awgy [Sat, 12 Feb 2011 02:35:41 +0000 (03:35 +0100)]
Remove sed from post-build code, due to portability issues between GNU and BSD versions.
Follow up to
ba43d37394b6018779d9a668c548e11579cd424a which apparently
didn't fix the problem completly on Mac OS X.
David Murdoch [Sat, 12 Feb 2011 02:09:45 +0000 (03:09 +0100)]
Remove unnecessary "script.type = text/javascript;". Fixes #8198.
Follow up to
462bb1f66abf239492ee33c60feee3402fe64f77.
David Murdoch [Sat, 12 Feb 2011 02:05:19 +0000 (03:05 +0100)]
Unexpose $.support._scriptEval as it's not needed. Use a private var instead. Fixes #8200.
jaubourg [Sat, 12 Feb 2011 02:59:46 +0000 (03:59 +0100)]
Enhances ajaxSetup so that it can take an optional target option, in which case target will be updated instead of ajaxSettings. That way, fields that shouldn't be deep extended can be listed and dealt with in one place. jQuery.ajax now makes use of ajaxSetup with target to create its internal settings object. Fixes #7531 in IE9RC.
jaubourg [Sat, 12 Feb 2011 00:08:24 +0000 (01:08 +0100)]
Pulls out the callback function in setRequestHeader. Also renames the regexp so that what it's meant to do is a bit more obvious.
jaubourg [Fri, 11 Feb 2011 23:13:38 +0000 (00:13 +0100)]
Minor changes to enforce JQuery Core Style Guidelines.
Anton M [Thu, 10 Feb 2011 22:57:06 +0000 (23:57 +0100)]
Remove duplicate test.
jaubourg [Fri, 11 Feb 2011 06:39:46 +0000 (07:39 +0100)]
Adds missing crossDomain test.
jaubourg [Fri, 11 Feb 2011 06:07:06 +0000 (07:07 +0100)]
Fixes #8245. Ajax now ensures header names are capitalized so that non-compliant xhr implementations don't override them.
jaubourg [Fri, 11 Feb 2011 06:02:11 +0000 (07:02 +0100)]
Simplifies status normalization in xhr transport. Local file test modified for clarity.
rwldrn [Thu, 10 Feb 2011 22:50:02 +0000 (23:50 +0100)]
Make sure .val() works after form.reset() in IE. Fixes #2551.
Anton M [Thu, 10 Feb 2011 02:18:11 +0000 (03:18 +0100)]
Make sure .clone(true) correctly clones namespaced events. Fixes #4537.
Anton M [Thu, 10 Feb 2011 02:15:32 +0000 (03:15 +0100)]
Fix some whitespace issues. Improve and correct an events test.
John Resig [Thu, 10 Feb 2011 21:19:35 +0000 (16:19 -0500)]
No need to duplicate Sizzle tests, just run them directly from Sizzle.
Anton M [Thu, 10 Feb 2011 00:29:18 +0000 (01:29 +0100)]
Pull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes #8220."
jaubourg [Wed, 9 Feb 2011 16:50:45 +0000 (17:50 +0100)]
Replaces jQuery.each loop for headers with a foreach loop.
jaubourg [Wed, 9 Feb 2011 16:47:33 +0000 (17:47 +0100)]
Fixes #8219. Introduces the mimeType option to override content-type header in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option). Unit test added.
jaubourg [Wed, 9 Feb 2011 14:27:50 +0000 (15:27 +0100)]
Makes local filesystem test for ajax more insightful.
jaubourg [Wed, 9 Feb 2011 14:26:34 +0000 (15:26 +0100)]
Makes sure statusText always defaults to "error".
Colin Snover [Tue, 8 Feb 2011 18:13:27 +0000 (12:13 -0600)]
Revert portions of
7acb141ed7f2dedd950bb65acf878098640d081e that attempt to use a function to hide jQuery metadata from JSON.stringify since this does not work reliably cross-browser (fails in Fx3.5, O11, Saf4).
Anton M [Tue, 8 Feb 2011 16:15:55 +0000 (17:15 +0100)]
Make sure that mousing over Chrome "internal div" doesn't trigger a mouseleave. Fixes #8209.
Follow up to https://github.com/jquery/jquery/commit/
4a828c93d40eb67b2041b08bbed0f1973442bd03
which was stupid and got reversed.
Anton M [Tue, 8 Feb 2011 16:08:25 +0000 (17:08 +0100)]
Revert "Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave."
This reverts commit
4a828c93d40eb67b2041b08bbed0f1973442bd03.
Anton M [Tue, 8 Feb 2011 15:57:06 +0000 (16:57 +0100)]
Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave. Fixes #8209.
Colin Snover [Mon, 7 Feb 2011 16:56:48 +0000 (10:56 -0600)]
Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052. 1.5-stable
Colin Snover [Mon, 7 Feb 2011 16:52:33 +0000 (10:52 -0600)]
Merge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover [Mon, 7 Feb 2011 16:48:38 +0000 (10:48 -0600)]
Update $.data to use a function instead of an object when attaching to JS objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable
jaubourg [Mon, 7 Feb 2011 16:09:47 +0000 (17:09 +0100)]
Adds jQuery collection to objects that will be used as global events context if provided in the ajax options.